Query file system type for yet-to-be mounted volumes?

2007-05-07 Thread Modulok
How does one determine the file system a disk uses, for disks that are not yet mounted? Example: You're handed a disk that has been sitting around in a closet for years, with no idea what it was used for. The department manager tells you to see what it contains. How do I mount it, if I don't

Re: Query file system type for yet-to-be mounted volumes?

2007-05-07 Thread Bernd Trippel
Modulok typed on 07/05/07 11:02: How does one determine the file system a disk uses, for disks that are not yet mounted? Example: You're handed a disk that has been sitting around in a closet for years, with no idea what it was used for. The department manager tells you to see what it

how to know the file system type [programming]

2005-08-17 Thread Jorge Mario G. Mazo
hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2 do this other stuff thanks in advance = Either write things worth reading, Or do

Re: how to know the file system type [programming]

2005-08-17 Thread Philip Hallstrom
hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2 do this other stuff Parse /etc/fstab? I'm sure there are lots of other ways too... ___

Re: how to know the file system type [programming]

2005-08-17 Thread jdyke
Jorge Mario G. Mazo wrote: hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2 do this other stuff not sure if this is what your looking for, but there are likely a million ways, one being in

Re: how to know the file system type [programming]

2005-08-17 Thread Jorge Mario G. Mazo
--- jdyke [EMAIL PROTECTED] escribió: Jorge Mario G. Mazo wrote: hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2 do this other stuff not sure if this is what your looking

Re: how to know the file system type [programming]

2005-08-17 Thread Dan Nelson
In the last episode (Aug 17), jdyke said: Jorge Mario G. Mazo wrote: hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2 do this other stuff not sure if this is what your looking for, but

Re: how to know the file system type [programming]

2005-08-17 Thread Dan Nelson
In the last episode (Aug 17), Jorge Mario G. Mazo said: --- jdyke [EMAIL PROTECTED] escribió: Jorge Mario G. Mazo wrote: hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2

Re: how to know the file system type [programming]

2005-08-17 Thread dpk
On Wed, 17 Aug 2005, Jorge Mario G. Mazo wrote: hi there I've been looking for a way to check the fs type I need to do something like this if NTFS do this if msdis do that if ufs2 do that if ext2 do this other stuff thanks in advance I'd check out the fdisk code. For example: $ fdisk

file system type

2005-03-19 Thread Robert Munn
Is there any way of detecting the type of file system on a disk, specifically UFS2 or UFS1? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: file system type

2005-03-19 Thread cpghost
On Sat, Mar 19, 2005 at 09:27:57AM -0500, Robert Munn wrote: Is there any way of detecting the type of file system on a disk, specifically UFS2 or UFS1? If all you need to know is wether a UFS file system is UFS1 or UFS2, you could use /sbin/dumpfs -cpghost. -- Cordula's Web.

Re: file system type

2005-03-19 Thread Kevin Kinsey
Robert Munn wrote: Is there any way of detecting the type of file system on a disk, specifically UFS2 or UFS1? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to