Pagina 1 di 1

rc.inet2

Inviato: lun 4 feb 2008, 12:39
da michelino
Ho segnalato una piccola modifica da effettuare a rc.inet2 a Pat.
in pratica gli share in /etc/fstab considerati sono solo quelli con filesistem smbfs (deprecati) e non anche in cifs.
Udite udite Pat mi ha risposto!
Michelino Chionchio wrote:
> so I think you should consider (also) the case that samba share are mounted with cifs in etc fstab, something like this:.

I fully agree. I've been using CIFS for manual mounts and encouraging others to use it, but don't have any Samba mounts in my fstab and hadn't caught that oversight. Thanks. :-)

All the best,

Pat

Re: rc.inet2

Inviato: lun 4 feb 2008, 13:35
da JohnnyMnemonic
:geniale:

Re: rc.inet2

Inviato: lun 4 feb 2008, 14:27
da prometeo79
=D> =D> =D> =D>

Re: rc.inet2

Inviato: lun 4 feb 2008, 17:27
da Vito
:D :D :D :D

Re: rc.inet2

Inviato: lun 4 feb 2008, 21:31
da xpaolo
Scusa ma non ho capito. Il mio attuale rc.inet2 riporta quanto segue:

(...)
# Mount remote CIFS filesystems. Note that where possible, using CIFS is
# preferred over SMBFS. SMBFS is no longer actively maintained.
if cat /etc/fstab | grep -v '^#' | grep -w cifs 1> /dev/null 2> /dev/null ; then
echo "Mounting remote CIFS file systems: /sbin/mount -a -t cifs"
/sbin/mount -a -t cifs
# Show the mounted volumes:
/sbin/mount -v -t cifs
fi

# Mount remote SMB filesystems:
if cat /etc/fstab | grep -v '^#' | grep -w smbfs 1> /dev/null 2> /dev/null ; then
echo "Mounting remote SMBFS file systems: /sbin/mount -a -t smbfs"
/sbin/mount -a -t smbfs
# Show the mounted volumes:
/sbin/mount -v -t smbfs
fi
(...)

Quindi non ho capito cosa manca su rc.inet2. Sicuramente mi sfugge qualcosa ?

Re: rc.inet2

Inviato: lun 4 feb 2008, 21:44
da michelino
Sei in current suppongo, li è stata fatta la modifica

Re: rc.inet2

Inviato: lun 4 feb 2008, 21:47
da Dani
Ottimo! =D>

Re: rc.inet2

Inviato: lun 4 feb 2008, 22:28
da xpaolo
Ah ecco. Grazie per la precisazione. Comunque mi sembra che questa modifica in current ci sia da un bel po'.

Re: rc.inet2

Inviato: lun 4 feb 2008, 22:53
da conraid
Il file è del 17 settembre, ed è comparso nel changelog il 16 ottobre
Tue Oct 16 14:51:30 CDT 2007
[cut]
n/network-scripts-12.0-noarch-5.tgz: Mount CIFS partitions.
Thanks to Lei Zhang.
Spero che non sia questo http://research.microsoft.com/users/leizhang/ :-D

Re: rc.inet2

Inviato: mar 5 feb 2008, 0:25
da michelino
Non so che dirvi, l'ho notato sulla mia 12, l'ho segnalato a Pat e mi ha risposto come vi ho segnalato.
:dontknow: :dontknow:

Re: rc.inet2

Inviato: mar 5 feb 2008, 0:32
da conraid
michelino ha scritto:Non so che dirvi, l'ho notato sulla mia 12, l'ho segnalato a Pat e mi ha risposto come vi ho segnalato.
:dontknow: :dontknow:
Probabilmente lo avete notato più persone e lui ha messo la prima o la più vicina a lui, chissà.
Fa sempre piacere ricevere una mail da Pat come quella, ma tu quando l'hai segnalato?

Re: rc.inet2

Inviato: mar 5 feb 2008, 1:50
da michelino
Ieri.
Non sapevo che l'aveva già corretto in current, me lo ha fatto notare alien bob su linuxquestions
A questo punto non mi spiego la risposta, anche se fa sempre piacere :D :D :D