support for mount by label (not yet tested)

Also adds findfs applet. Closes bug 1143.
This commit is contained in:
Denis Vlasenko
2008-02-18 21:08:49 +00:00
parent 27dd495b98
commit de7684a309
43 changed files with 4632 additions and 20 deletions

View File

@ -781,7 +781,7 @@ create_sgilabel(void)
printf(msg_building_new_label, "SGI disklabel");
sgi_other_endian = (BYTE_ORDER == LITTLE_ENDIAN);
sgi_other_endian = BB_LITTLE_ENDIAN;
res = ioctl(fd, BLKGETSIZE, &longsectors);
if (!ioctl(fd, HDIO_GETGEO, &geometry)) {
g_heads = geometry.heads;