[plug] Setting up NFS for backups.

Russell Steicke r.steicke at bom.gov.au
Wed Mar 12 14:13:11 WST 2003


On Wed, Mar 12, 2003 at 01:59:35PM +0800, Richard Mortimer wrote:
> Many thanks for the response,
> 
> the nohide option did the trick, but for future reference, how can I
> determine whether the /var directory is on the same filesystem?

If /var appears in /etc/fstab and it got mounted successfully at boot
time, then it's a separate filesystem.  If not, then it will be a
directory on /, and exist on the root filesystem.

> LABEL=/var              /var                    ext3    defaults        1 2
                          ^^^^
                     This is the  field
                     you need to look for.

Or you could look at the output from mount:

/dev/sda7 on /var type ext3 (rw)


BTW, I hope you read the warnings about nohide in the exports man page.



-- 
Russell Steicke

-- Fortune says:
"Cable is not a luxury, since many areas have poor TV reception."
-- The mayor of Tucson, Arizona, 1989
[apparently, good TV reception is a basic necessity -- at least in Tucson  -kl]



More information about the plug mailing list