summaryrefslogtreecommitdiffstats
path: root/sys/msdosfs/msdosfs_vfsops.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove the check for the number of heads reported by the BPB altogether,sturm2006-08-221-3/+2
| | | | | | there are devices reporting zero heads; we don't use this value anyways ok pedro, reported by Igor Grabin <violent at death.kiev.ua>
* Revert last commitpedro2006-08-071-6/+2
|
* obey the locking disaplince wrt to VOP_CLOSE during umountsthib2006-08-061-2/+6
| | | | | | and mount error paths. ok sturm@ pedro@
* from FreeBSD:sturm2006-07-191-3/+3
| | | | | | | | | Don't reject FAT file systems with a number of "Heads" greater than 255; USB keychains exist that use 256 as the number of heads. This check has also been removed in Darwin (along with most of the other head/sector sanity checks). this fixes pr 4988, ok pedro
* (And remember to remove the block on filesystems > 128 GB)tom2005-03-021-10/+1
| | | | | | | | | | | | | | | Add support for MS-DOS filesystems > 128 GB, by changing the way we calculate fileids (fake inode numbers). This uses some hash code by Thomas Wang, who has agreed to the existing licence on the file (i.e. his name just needed to be added to the copyright list). Thanks. Also a tiny bit of KNF. Closes PR 4119; works for the OP Pawel Rogocz. Help with testing todd@, thanks. ok deraadt@
* Use list and queue macros where applicable to make the code easier to read;miod2004-12-261-2/+2
| | | | no change in compiler assembly output.
* use pool for namei pathbuf. testing ok millert@ tdeval@tedu2004-05-141-1/+1
|
* 32 bit ints are uint32_t, not u_long. works on 64bit now. ok deraadt@tedu2004-05-121-2/+2
|
* constify vfsops; tedu@ okmickey2003-08-141-2/+2
|
* rename rootvp to rvp to avoid global. ok deraadt@ krw@tedu2003-04-141-5/+5
|
* In mount.h, rename field export -> export_info, to avoid collision with C++.espie2002-04-231-2/+3
| | | | | | | | | | | Synch files that use that field. (This argument is an internal interface specific to OpenBSD, so it won't cause compatibility problems.) (No bump, not an ABI change). ok art, millert...
* First round of __P removal in sysmillert2002-03-141-20/+20
|
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-9/+14
| | | | | | | | | machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
* Merge in struct uvm_vnode into struct vnode.art2001-12-101-2/+2
|
* Merge in the unified buffer cache code as found in NetBSD 2001/03/10. Theart2001-11-271-14/+9
| | | | | | | code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups.
* VOP_UNLOCK + vrele does not alway == vputcsapuntz2001-11-211-2/+3
|
* Use vfs_mount_foreach_vnodecsapuntz2001-11-211-45/+50
|
* These file systems don't do softudpates.csapuntz2001-03-041-3/+1
|
* use void * consistently in vfs_mount and sys_mount. ok @artassar2001-02-201-4/+4
|
* fix debug case; from Mike Pechkin <mpech@prosoft.org.lv>mickey2001-02-071-3/+5
|
* Support FAT32 partitions >4GB (up to 128GB, in fact); d@ ok, from NetBSD.aaron2000-03-151-2/+5
|
* update to use new checkexp vfs operationassar2000-02-071-14/+29
|
* New struct statfs with mount options. NOTE: this replaces statfs(2),millert1999-05-311-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
* do not count on BOOTSIG0 and BOOTSIG1 being in a msdos filesystem. Notderaadt1999-05-011-13/+3
| | | | all filesystems need to contain those; mark@nfr.net
* make this compile with MSDOSFS_DEBUGart1999-01-101-15/+7
|
* GAS 2.8 + KNFniklas1998-02-231-2/+3
|
* Updates to match type changes in syscall tablestholo1998-02-081-3/+3
|
* FAT32 support from NetBSD by Wolfgang Solfrank.provos1998-01-111-32/+117
|
* dont crash on update mounting.provos1997-11-101-7/+4
|
* Don't panic on sync, based on changes from ext2fs_vfsops.c and ffs_vfsops.cmillert1997-11-091-14/+37
|
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-41/+22
|
* back out vfs lite2 till after 2.2deraadt1997-10-061-22/+41
|
* VFS Lite2 Changescsapuntz1997-10-061-41/+22
|
* Change errno cause by mounting invalid filesystems from EINVAL to EFTYPE.kstailey1997-06-201-7/+7
|
* Sync msdosfs with NetBSD sans const-ness. NetSBD log messages:millert1997-03-021-2/+2
| | | | | | | Fix panic on mkdir. Thanks to Dave Huang for finding the bug. Fixes a bug with allowed/forbidden characters in non-W95 filenames. Don't extend directory when nothing is written to it.
* partial sync with netbsd 960418, more to comederaadt1996-04-211-5/+5
|
* From NetBSD: merge with 960217niklas1996-02-291-27/+53
|
* from netbsd;deraadt1996-01-291-102/+99
| | | | | | | | | Instead of using '#ifdef atari' to handle the differences of Gemdosfs and Msdosfs, use a flag that can be set by mount_msdos. This is definitely more flexible. Fix error in previous change: don't use the local FS mount data before it's actually allocated. Pass mount arguments to msdosfs_mountfs instead, and use them (as in iso_mountfs for example).
* from netbsd (mostly by ws):deraadt1995-12-141-59/+67
| | | | | | | | | | | | | | | Win95 ignores case on lookup Really don't generate long names when mounted with -s Fix cookie handling Don't forward credentials to bread, it makes nfs panic (Of course, nfs shouldn't rely on the credentials not being referenced) Don't give directory entry to deget, it could result in a deadlock Use device blocks, not clusters for logical block numbers Add support for Win'95 separate creation/modification/access timestamps Re-introduce lowercase filenames for non-Win'95-filesystems Fix thinko with block boundaries in directories Don't overwrite dirclust, it's needed later on Enable flock(2).
* initial import of NetBSD treederaadt1995-10-181-0/+748