Searched hist:"0 c2b89af" (Results 1 – 2 of 2) sorted by relevance
/openbsd/sbin/dump/ |
H A D | itime.c | diff 0c2b89af Fri Aug 07 17:29:24 GMT 1998 millert <millert@openbsd.org> Use strlcpy() instead of strncpy(). Change the order of name -> raw device conversions 1) statfs the name and use that info iff the name is the mount point 2) look up name in fstab 3) treat as a device The reason for this is that the mounted filesystems may not agree with what fstab says. Anyone who has ever moved disks around and accidentally dumped and empty filesystem will know what I mean.
|
H A D | main.c | diff 0c2b89af Fri Aug 07 17:29:24 GMT 1998 millert <millert@openbsd.org> Use strlcpy() instead of strncpy(). Change the order of name -> raw device conversions 1) statfs the name and use that info iff the name is the mount point 2) look up name in fstab 3) treat as a device The reason for this is that the mounted filesystems may not agree with what fstab says. Anyone who has ever moved disks around and accidentally dumped and empty filesystem will know what I mean.
|