Re: Full System Restore with tar: Reminder!
- To: debian-user@lists.debian.org
- Subject: Re: Full System Restore with tar: Reminder!
- From: Kalle Olavi Niemitalo <kon@iki.fi>
- Date: 16 Jan 2001 13:38:25 +0200
- Message-id: <[🔎] izn1yu39172.fsf@iki.fi>
- In-reply-to: jimd@vega.starshine.org's message of "16 Jan 2001 09:01:05 GMT"
- References: <slrn9683ef.qfd.jimd@vega.starshine.org>
jimd@vega.starshine.org (Jim Dennis) writes:
> (Note: I just try to do an rmdir as the easiest way to detect
> a non-empty directory *and* to detect a non-directory node named
> /proc at the same time.
Modern versions of mount and fsck allow referring to ext2 file systems
by LABEL or GUID (or was it UUID?) in /etc/fstab, so that it doesn't
matter if disks or partitions are added or removed. When this is done
with the root file system, /proc must be mounted before the root fs is
checked because fsck must scan /proc/partitions. Because the root fs
is normally read-only at that time, rmdir /proc won't work as a check.
Of course, you could unmount /proc again after checking the root fs,
but that sounds dirty.
Reply to: