Opened 12 years ago

Closed 6 years ago

Last modified 6 years ago

#475 closed enhancement (fixed)

File system probing

Reported by: Martin Decky Owned by: Jakub Jermář
Priority: minor Milestone: 0.7.2
Component: helenos/srv/vfs Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

The VFS and file system drivers should support file system probing in order to avoid explicit file system type specification while mounting a block device. As it is common in other systems, the probing mechanism should kick in by using a reserved file system type "auto".

Change History (4)

comment:1 by Jiri Svoboda, 12 years ago

'Other systems?' Which ones are those, beside GNU? :-)

comment:2 by Jiri Svoboda, 9 years ago

VFS/FS need to have an interface that allows getting information on the specified filesystem:

  • does the device contain this type of filesystem? If so,
  • filesystem instance ID
  • volume name

This can be used by volsrv to probe for filesystem type (all filesystem servers must be loaded, though), and then based on the obtained information it can decide if/where to mount the file system.

comment:3 by Jakub Jermář, 6 years ago

Resolution: fixed
Status: newclosed

VFS now supports VFS_IN_FSPROBE and the following file systems implement it:

  • cdfs
  • exfat
  • ext4fs
  • fat
  • mfs

Besides locfs and tmpfs, only udf doesn't support this method.

comment:4 by Jakub Jermář, 6 years ago

Milestone: 0.7.2
Note: See TracTickets for help on using tickets.