summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8688197)
snap/*.sh: added brief comments to each script
-4. mount -t obdfs /dev/obd /mnt
+4. mount -t obdfs -o device=/dev/obd0 /dev/obd0 /mnt/obd
To verify: type mount (output:
To verify: type mount (output:
-/dev/obd on /mnt type obdfs (rw))
+/dev/obd on /mnt/obd type obdfs (rw))
-6. chmod 711 /mnt, ls -ld /mnt
+6. chmod 711 /mnt/obd, ls -ld /mnt/obd
-7. chown seagate /mnt , ls -ld /mnt
+7. chown disk /mnt/obd, ls -ld /mnt/obd
- /* For obdfs we always use normal (not fast) symlinks
- if (l >= sizeof (inode->u.ext2_i.i_data)) { */
+ if (l >= sizeof (inode->u.ext2_i.i_data)) {
CDEBUG(D_INODE, "l=%d, normal symlink\n", l);
name_page = obdfs_getpage(inode, 0, 1, LOCKED);
CDEBUG(D_INODE, "l=%d, normal symlink\n", l);
name_page = obdfs_getpage(inode, 0, 1, LOCKED);
return err;
}
link = (char *)page_address(name_page);
return err;
}
link = (char *)page_address(name_page);
link = (char *) inode->u.ext2_i.i_data;
CDEBUG(D_INODE, "l=%d, fast symlink\n", l);
link = (char *) inode->u.ext2_i.i_data;
CDEBUG(D_INODE, "l=%d, fast symlink\n", l);
i = 0;
while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++)))
link[i++] = c;
i = 0;
while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++)))
link[i++] = c;