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: pgp00000.pgp
Description: PGP signature

Reply via email to