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

Re: Invoking ddrescue



Hi,

i wrote:
> > Check whether there is really no filesystem on /dev/sdb6 !

Pascal Hambourg wrote:
> How ? I may suggest amongst others :

  file -sk /dev/sdb6

Good proposal. Richard: Add this to mine.

An empty partition should report

  /dev/sdb6: data

whereas a recognizable filesystem should tell lots of info, like

  /dev/sdb6:  Linux rev 1.0 ext4 filesystem data, ...
or
  /dev/sdb6: DOS/MBR boot sector, ... FAT ...

A Linux swap partition looks like

  /dev/sdb6: Linux/i386 swap file ...


-------------------------------------------------------------------
Questions of long term style rather than immediate functionality of
the proposal:

> Why use an obsolete filesystem type as ext3 instead of ext4 ?

As said: Old school.
Just some filesystem type that is supposed to take large data files.


> My understanding of the FHS was that /mnt was intended to be used as a
> temporary mount point, not to contain any subdirectories used as permanent
> mount points.

Using /mnt for custom mount points does not look like a grave mistake,
at least.

Old school is:
  http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/mnt.html

  "This is a generic mount point under which you mount your filesystems
   or devices. [...] This directory usually contains mount points or
   sub-directories where you mount your floppy and your CD. You can also
   create additional mount-points here if you wish."

About as old as above LFS is:
  http://www.pathname.com/fhs/pub/fhs-2.3.html#MNTMOUNTPOINTFORATEMPORARILYMOUNT

  "/mnt : Mount point for a temporarily mounted filesystem
   Purpose
   This directory is provided so that the system administrator may
   temporarily mount a filesystem as needed. The content of this directory
   is a local issue and should not affect the manner in which any program
   is run.
   This directory must not be used by installation programs: a suitable
   temporary directory not in use by the system must be used instead."

Do we have newer specs ?


Have a nice day :)

Thomas


Reply to: