OpenGrok
Cross Reference: getdiskrawname.c
xref
: /
src
/
lib
/
libutil
/
getdiskrawname.c
Home
|
History
|
Annotate
|
Download
|
only in
libutil
History log of
/src/lib/libutil/getdiskrawname.c
Revision
Date
Author
Comments
1.6
22-Aug-2019
brad
Teach getdiskrawname and getdiskcookedname about zvols.
Reviewed by Christos
1.5
17-Sep-2014
christos
branches: 1.5.16; 1.5.18;
KNF, sign cast.
1.4
12-Sep-2014
mlelstv
use the passed parameter instead of PATH_MAX. Change signedness
of nlen.
1.3
12-Sep-2014
mlelstv
- use a private buffer to resolve symlinks, the previous code was broken
- factored out symlink handling
- handle relative symlinks now
- handle device paths that do not contain a '/'.
1.2
22-Dec-2013
mlelstv
branches: 1.2.4;
Resolve symlinks and cook the targets instead of the symlink names.
1.1
07-Apr-2012
christos
branches: 1.1.2; 1.1.4;
- add getdiskrawname.
- exit on error for lint.
1.1.4.1
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.1.2.3
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.1.2.2
17-Apr-2012
yamt
sync with head
1.1.2.1
07-Apr-2012
yamt
file getdiskrawname.c was added on branch yamt-pagecache on 2012-04-17 00:05:34 +0000
1.2.4.1
22-Sep-2014
martin
Pull up following revision(s) (requested by mlelstv in ticket #117):
lib/libutil/getdiskrawname.c: revision 1.3
lib/libutil/getdiskrawname.c: revision 1.4
lib/libutil/getdiskrawname.c: revision 1.5
- use a private buffer to resolve symlinks, the previous code was broken
- factored out symlink handling
- handle relative symlinks now
- handle device paths that do not contain a '/'.
use the passed parameter instead of PATH_MAX. Change signedness
of nlen.
KNF, sign cast.
1.5.18.1
02-Sep-2019
martin
Pull up following revision(s) (requested by brad in ticket #110):
libexec/lfs_cleanerd/lfs_cleanerd.c: revision 1.59
libexec/lfs_cleanerd/lfs_cleanerd.8: revision 1.19
sbin/resize_lfs/resize_lfs.c: revision 1.15
usr.sbin/puffs/rump_lfs/rump_lfs.c: revision 1.19
libexec/lfs_cleanerd/lfs_cleanerd.c: revision 1.60
lib/libutil/getdiskrawname.c: revision 1.6
tests/fs/common/fstest_lfs.c: revision 1.7
Use getdiskrawname to find the device name.
Reviewed by Christos
-
Teach getdiskrawname and getdiskcookedname about zvols.
Reviewed by Christos
-
Add support for passing the raw device name separate from the
filesystem. This is useful in the case where the cleaner is compiled
into code, such as rump_lfs and the ATF tests. This helps to fix
bin/54488
-
The cleaner is compiled into rump_lfs and executed as a thread. Pass
in the raw device using the new -J option. This avoids the use of
getdiskrawname which is not particularly rump safe in this context and
insures that the rump container device is used for cleaning, not the
outer device.
1.5.16.1
13-Apr-2020
martin
Mostly merge changes from HEAD upto 20200411
Indexes created Sat Sep 27 22:09:54 GMT 2025