[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to find dev. of fs root?



On Sun, Mar 28, 2004 at 03:16:08PM -0600, hugo vanwoerkom wrote:
> Hi Debian!
> 
> How do I find inside a script what the device is of the filesystem root?

mount | grep ' \/ ' | cut -d ' ' -f 1

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpOdq1B7rVYw.pgp
Description: PGP signature


Reply to: