diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1997-04-29 15:52:53 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1997-04-29 15:52:53 +0000 |
| commit | 3e1cf4314874a37225fd9e09e4c625797fa73364 (patch) | |
| tree | 497573e85374abe2ffa824cbf51c85021e509823 /sys/fs | |
| parent | ea4e54b942da4ebc3d980ef5199c496ff500a652 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/cd9660/cd9660_mount.h | 1 | ||||
| -rw-r--r-- | sys/fs/cd9660/cd9660_vfsops.c | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_mount.h b/sys/fs/cd9660/cd9660_mount.h index ea6ecaad9c9f..9d3f78e8c3d8 100644 --- a/sys/fs/cd9660/cd9660_mount.h +++ b/sys/fs/cd9660/cd9660_mount.h @@ -45,6 +45,7 @@ struct iso_args { char *fspec; /* block special device to mount */ struct export_args export; /* network export info */ int flags; /* mounting flags, see below */ + int ssector; /* starting sector, 0 for 1st session */ }; #define ISOFSMNT_NORRIP 0x00000001 /* disable Rock Ridge Ext.*/ #define ISOFSMNT_GENS 0x00000002 /* enable generation numbers */ diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index e8712dc9779c..764ce6b0039b 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 - * $Id: cd9660_vfsops.c,v 1.21 1997/03/24 11:24:32 bde Exp $ + * $Id: cd9660_vfsops.c,v 1.22 1997/04/14 18:15:46 phk Exp $ */ #include <sys/param.h> @@ -255,7 +255,9 @@ iso_mountfs(devvp, mp, p, argp) */ iso_bsize = ISO_DEFAULT_BLOCK_SIZE; - for (iso_blknum = 16; iso_blknum < 100; iso_blknum++) { + for (iso_blknum = 16 + argp->ssector; + iso_blknum < 100 + argp->ssector; + iso_blknum++) { if (error = bread(devvp, iso_blknum * btodb(iso_bsize), iso_bsize, NOCRED, &bp)) goto out; |
