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

Re: what's fstype 83? "Linux"?



On Tue, 2003-01-28 at 20:20, will trillich wrote:
> On Tue, Jan 28, 2003 at 12:00:18AM -0500, Shaun ONeil wrote:
> 
> > # dd if=/dev/hda6 bs=1k count=50 | file -
> > 50+0 records in
> > 50+0 records out
> > 51200 bytes transferred in 0.116208 seconds (440589 bytes/sec)
> > standard input:              Linux rev 1.0 ext2 filesystem data 
> > (mounted or unclean)
> > 
> > There may be a good reason not to do this, but it's always worked for me
> 
> there may indeed, but THAT'S A REALLY COOL TIP. cut it out.

There's a switch for file, too:

diamond:/home/richard# file -s /dev/hda2
/dev/hda2: Linux rev 1.0 ext2 filesystem data (mounted or unclean)

That reads the file despite it being a special file.

Richard




Reply to: