I wonder why mount command takes file system type option like "mount -t type ...". It can find out device's file system type and choose related parameter. Is it possible to mount disks with a file system type other than its current fstype? For example, disk table says sda1's file system type is linux(ext3) but it is real fstype is ntfs, so we use "mount -t ntfs ..." to mount it, is it possible?
feedback
|
migrated from stackoverflow.com Sep 21 '11 at 17:37
This question came from our site for professional and enthusiast programmers.
|
The "automagic" filesystem detection feature of And you need the | |||
|
feedback
|
|
The mount auto probing technique uses a heuristic (the presence of appropriate 'magic'), and could recognize the wrong filesystem type, possibly with catastrophic consequences. If your data is valuable, don't ask mount to guess. This also applies to trying to force the wrong fs mount type, mainly due to the different way each fstype is handled (including structural differances). | |||
|
feedback
|