aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_cd9660
Commit message (Collapse)AuthorAgeFilesLines
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-212-9/+9
| | | | Notes: svn path=/head/; revision=102231
* This should have been committed too, I have no ideaMaxime Henrion2002-08-031-1/+1
| | | | | | | why p4 didn't gave me this diff too. Notes: svn path=/head/; revision=101274
* Now that the kernel is able to load modules itself,Maxime Henrion2002-08-031-12/+1
| | | | | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility. Notes: svn path=/head/; revision=101270
* The .Nm utilityPhilippe Charnier2002-07-061-1/+1
| | | | Notes: svn path=/head/; revision=99501
* mdoc(7) police: misc fixes.Ruslan Ermilov2002-03-151-5/+4
| | | | Notes: svn path=/head/; revision=92336
* Add information about multi-session CDs from the log message of r1.4.Murray Stokely2002-03-131-0/+9
| | | | | | | | | Also, add an examples section and show how to mount a Kodak Photo-CD. PR: docs/35206 Notes: svn path=/head/; revision=92218
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+2
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* Added missing no's to the -o options list.Ruslan Ermilov2001-04-261-6/+7
| | | | | | | Fixed markup. Notes: svn path=/head/; revision=76024
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74531
* It is the ``nostrictjoliet'' option equivalent to -b.Ruslan Ermilov2001-03-161-2/+2
| | | | | | | Reviewed by: bp Notes: svn path=/head/; revision=74345
* Update userland interface for broken Joilet disks.Boris Popov2001-03-112-2/+12
| | | | | | | Reviewed by: adrian Notes: svn path=/head/; revision=74097
* Print out the target device when the mount fails.Brian S. Dean2001-01-251-1/+2
| | | | Notes: svn path=/head/; revision=71652
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* TypoKris Kennaway1999-11-151-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=53168
* mount* fixes from Martin Blapp <mb@imp.ch>:Poul-Henning Kamp1999-10-091-2/+9
| | | | | | | | | | | | | | | | | | | | Made mount more userfriendly (bad slashes are now filtered out) and we remove in mount_nfs trailing slashes if there are any. Fixed mount_xxx binarys to resolve with realpath(3) the mountpoint. Translate the deprecated nfs-syntax with '@' to ':' . The ':' syntax has now precedence, but '@' still works. Notify the user that the '@' syntax should not be used. PR: 7846 PR: 13692 Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: phk Notes: svn path=/head/; revision=52055
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Fix some bad references.Chris Costello1999-08-161-3/+3
| | | | Notes: svn path=/head/; revision=49918
* Add $Id$ to these manpages.Nik Clayton1999-07-121-0/+2
| | | | | | | Approved by: bde Notes: svn path=/head/; revision=48790
* Add the missing cd9660-specific options to the -o flag. While I'm here,Guy Helmer1999-05-281-1/+16
| | | | | | | | | add the missing -j flag to the synopsys. PR: docs/1667 Notes: svn path=/head/; revision=47555
* Add support for Joliet extensions to the iso9660 fs. The related PRDaniel C. Sobral1999-04-182-2/+8
| | | | | | | | | | | | | | | | cannot yet be closed, though. I hope I got all credits right, and that the multiple submitted by lines do not break anyone's scripts... PR: kern/5038, kern/5567 Submitted by: Keith Jang <keith@email.gcn.net.tw> Submitted by: Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de> Submitted by: Byung Yang <byung@wam.umd.edu> Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Notes: svn path=/head/; revision=45773
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-191-2/+2
| | | | Notes: svn path=/head/; revision=34673
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-1/+0
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Add missing .Ar.Philippe Charnier1997-12-291-1/+1
| | | | Notes: svn path=/head/; revision=32075
* Userland part of ISO9660 multi-session support. mount_cd9660(8) willJoerg Wunsch1997-04-292-11/+103
| | | | | | | | | | | | | | | | | now by default mount the last data track (thus last session), as opposed to the very first session it has been mounting previously. This is consistent with the ISO9660 multi-session idea, and the way other operating systems are working. There's support to mount arbitrary sessions using the -s option. This way, you can simulate multi-session CDs on something like vn devices that don't support CDIO* ioctl commands. You can also force the historic behaviour with mount -t cd9660 -o -s=0 /dev/cd0a /cdrom Notes: svn path=/head/; revision=25286
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)Peter Wemm1997-03-112-18/+17
| | | | Notes: svn path=/head/; revision=23680
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Use the .Bx macro where appropriate.Mike Pritchard1996-08-231-1/+2
| | | | Notes: svn path=/head/; revision=17797
* Get rid of the last vestiges of the old MOUNT_* constants in theGarrett Wollman1996-05-131-4/+11
| | | | | | | | | | | | mount_* programs. While we're at it, collapse the four now-identical mount programs for devfs, fdesc, kernfs, and procfs into links to a new mount_std(8) which can mount any really generic filesystem such as these when called with the appropriate argv[0]. Also, convert the mount programs to use sysexits.h. Notes: svn path=/head/; revision=15770
* Include the special device in the error output so that it makes sense.David Greenman1995-02-151-1/+1
| | | | Notes: svn path=/head/; revision=6442
* Removed the comment about missing support for the original "HighJoerg Wunsch1995-01-161-3/+0
| | | | | | | Sierra" format from the bugs section. Notes: svn path=/head/; revision=5652
* Add support for filesystem-specific `-o' options, and re-implement theGarrett Wollman1994-11-011-1/+4
| | | | | | | | | | | | | | | | | | | most common cd9660 and nfs options like God intended them. (It is now possible to say mount -o ro,soft,bg,intr there:/foo/bar /foo/bar again.) This whole getmntopt() business is an incredible botch; it never should have been anything more than a wrapper around getsubopt(3). Because if the way the current hackaround is implemented, options which take arguments (like the old `rsize' and `wsize') are still unavailable, and must be accessed the new, broken way. (It's unimaginable how Berkeley managed to screw up one of the few things about NFS that Sun actually got right to begin with!) Notes: svn path=/head/; revision=4065
* Automatically load NFS and a bevy of other filesystems.Garrett Wollman1994-09-221-1/+11
| | | | Notes: svn path=/head/; revision=2999
* Get rid of the need for the readonly mandatory option - set readonlyDavid Greenman1994-09-071-4/+6
| | | | | | | flags regardless of whether the user specified it. Notes: svn path=/head/; revision=2542
* Convert to our man installation style. Also fixed long-standing bugGarrett Wollman1994-08-051-1/+1
| | | | | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message. Notes: svn path=/head/; revision=1855
* Don't call getmntopts with a null pointer as an option string; it'llDavid Greenman1994-08-021-3/+2
| | | | | | | | dereference it. Pass optarg from getopts as it should have been done. This bug caused mount_cd9660 to segfault whenever -o was used. Notes: svn path=/head/; revision=1819
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-263-0/+240
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558