History log of /dflybsd-src/lib/libfsid/hammer.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 6c39d27a 07-Apr-2016 Tomohiro Kusumi <kusumi.tomohiro@gmail.com>

sys/vfs/hammer: Rename ondisk vol_name to vol_label

Ondisk volume header having a field named vol_name for a label
(not a block device path) is confusing, especially when inmemory
volume structure h

sys/vfs/hammer: Rename ondisk vol_name to vol_label

Ondisk volume header having a field named vol_name for a label
(not a block device path) is confusing, especially when inmemory
volume structure has vol_name for a block device but not a label.

There is even a kprintf message wrongly using ondisk vol_name
as a block device path, as well as some comments saying vol_name
is a filesystem label but not a path, which implies the name was
misleading.

This commit changes ondisk vol_name to vol_label.
This commit also changes vol_name in struct hammer_ioc_info to
vol_label. Outbox userspace programs using these two will see
compile error after this commit (which I doubt there is any...).
This commit doesn't break binaries.

Note that vol_name in struct libhammer_fsinfo is unchanged.

show more ...


# 24cad3d2 15-Dec-2010 Sascha Wildner <saw@online.de>

libfsid(3): Make the filesystem type an enum and perform misc cleanup.


# 1e642749 08-Dec-2010 Ákos Kovács <akoskovacs@gmx.com>

libfsid - A new library to determine filesystems.

* The idea is extracted from the sbin/fsid tool. The library provides an
interface to probe a given device for a file system and get its volume

libfsid - A new library to determine filesystems.

* The idea is extracted from the sbin/fsid tool. The library provides an
interface to probe a given device for a file system and get its volume
label.

* fsid was changed to use libfsid functionality.

Sponsored-by: Google Code-In

show more ...