Bug#386063: [Pkg-sysvinit-devel] Bug#386063: initscripts: unionfs filesystems are mounted before network filesystems

Sam Hathaway sam at uofr.net
Wed Sep 6 04:42:32 UTC 2006


On Sep 5, 2006, at 2:18 AM, Petter Reinholdtsen wrote:

> [Sam Hathaway]
>> I have a unionfs mount that included NFS-mounted filesystems as its
>> components. unionfs filesystems are mounted by
>> /etc/init.d/mountall.sh, which runs before /etc/init.d/mountnfs.sh
>> (S35 vs. S45).
>
> Does it help to flag the uninfs mount point with _netdev, as
> documented in mount(8)?

Petter,

_netdev doesn't help. The fstab line is now:

none /media/samtori-media unionfs dirs=/media/tv-media:/home/sam/ 
MEDIA:/media/g5-media1:/media/g5-media2,_netdev 0 0

but /etc/init.d/mountall.sh still mounts it.

>> It would be nice to have mountall.sh refrain from mounting unionfs
>> filesystems, and either do it in mountnfs.sh, or in a separate
>> mountunionfs.sh script that runs after mountnfs.sh.
>
> I believe the mechanism for this is already in place by using the
> _netdev flag.  Please let us know if this isn't working.

The responsible line in mountall.sh is:

   mount -a -t noproc,nfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs

or, if $VERBOSE is on:

   mount -a -v -t noproc,nfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs





More information about the Pkg-sysvinit-devel mailing list