aboutsummaryrefslogtreecommitdiff
path: root/isofs
Commit message (Collapse)AuthorAgeFilesLines
* fix common misspellingsJonathan Neuschäfer2011-08-202-3/+3
| | | | | | * Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* Switch to the new ChangeLog style.Thomas Schwinge2009-07-111-282/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
* 2007-11-13 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-11-132-16/+9
| | | | * inode.c (read_disknode): Adapt to ``struct stat'' changes.
* 2007-03-25 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-03-252-5/+10
| | | | | * isofs/inode.c (read_disknode): Correctly convert from nanoseconds to microseconds.
* 2005-02-23 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt2005-02-232-1/+7
| | | | * Makefile (iso9660fs.static): New target.
* 2003-08-31 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2003-08-312-2/+9
| | | | | * main.c (diskfs_readonly, diskfs_hard_readonly): Removed. (main): Set diskfs_readonly and diskfs_hard_readonly to one.
* doc/Marcus Brinkmann2002-09-293-2/+7
| | | | | | | | | | | | | 2002-09-29 Marcus Brinkmann <marcus@gnu.org> * hurd.texi (Translators): Change isofs to iso9660fs (ISO-9660 CD-ROM FS): Likewise. isofs/ 2002-09-29 Marcus Brinkmann <marcus@gnu.org> * Makefile (target): Change to iso9660fs. * main.c (diskfs_server_name): Change to iso9660fs.
* 2002-08-06 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-08-062-18/+9
| | | | | | | | | * inode.c (use_file_start_id): Use file_start for directories, so the inode of the directory is used for the ".." entries in all sub-directories. Contrary to ChangeLog entry 2001-11-27, this is safe, because the ISO9660 specification mandates that the first entry in every directory must be ".", so a non-file_start using directory record can not be the first one.
* .Roland McGrath2002-06-111-0/+4
|
* 2002-06-08 Roland McGrath <roland@frob.com>Roland McGrath2002-06-111-3/+3
| | | | * inode.c (diskfs_cached_lookup): Use ino_t for argument.
* .Roland McGrath2002-05-081-2/+9
|
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-3/+4
| | | | * rr.c (rrip_work): Cast pointer to uintptr_t instead of int.
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-082-5/+5
| | | | | * main.c (diskfs_append_args): unsigned -> size_t * lookup.c (diskfs_get_directs): Likewise.
* 2001-04-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-04-292-1/+10
| | | | | * rr.c (rrip_work): In the MATCH_NAME case, free NMBUF if it is non-zero before returning.
* 2001-04-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-04-292-78/+84
| | | | | | | | * lookup.c (diskfs_get_directs): If an RE entry is encountered, just decrement I again. Rearrange the code to check for a new logical sector in any case. Also make sure to always release RR before returning. This fixes some memory leaks and Debian bug report #63373.
* .Roland McGrath2001-02-261-2/+6
|
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+3
| | | | * lookup.c: Include <stdlib.h> for abort decl.
* 2001-02-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-02-202-0/+6
| | | | | * inode.c: Include <time.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>.
* doc/Marcus Brinkmann2001-01-072-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const. ext2fs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * dir.c: Make diskfs_dirstat_size const. isofs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * lookup.c: Make diskfs_dirstat_size const. ufs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * dir.c: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * diskfs.h: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * file-statfs.c: Include <string.h>. ftpfs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * dir.c (ftpfs_dir_create): Fix last change (calloc invocation). 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * copy.c: Include <mach.h>. New macro page_aligned. (copy_write): Cast buf to vm_address_t in call to vm_write. Dereference amount for memcpy. (copy_read): Add len parameter to vm_read, remove redundant following len assignment.
* 2000-12-21 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-01-075-4/+51
| | | | | | | | | | | | | | * rr.c (rrip_work): Use strdup instead malloc and strcpy. Assert that strdup and malloc (for rr->trans) succeeds. * pager.c: Include <errno.h>. (create_disk_pager): If malloc fails, exit with error. * main.c (read_sblock): Fail if malloc does. * inode.c (diskfs_cached_lookup): When allocating memory for dn or np fails, release spinlock, rrip (and allocated memory) and return ENOMEM. (load_inode): Likewise (but no rrip). Also, if *npp is non-zero, release diskfs_node_refcnt_lock before returning. Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
* 2000-11-27 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-273-14/+63
| | | | | | | | | | | | | | | | The last two changes introduced two new inode overlaps (file_start was not shifted by store block size, and directories' shifted file_start offset can be the same as the struct dirrect offset of their first directory entry). * inode.c (use_file_start_as_id): New function to determine if to use file_start or struct dirrect * as node id. The directory recognition code comes from read_disknode. (cache_inode): Use use_file_start_as_id instead doing the work ourselve. Shift file_start by store->log2_block_size. (load_inode): Likewise. * lookup.c (diskfs_get_directs): Likewise. Declare use_file_start_id.
* 2000-11-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-263-22/+73
| | | | | | | | | | | | | | | | | | Fix hard link handling for non-zero length files. * inode.c: Fix comment about inode numbers. (node_cache): New member ID to store unique identifier. (inode_cache_find): Change RECORD arg into ID and compare it with id member of node_cache. (cache_inode): Swap order of args and add new arg RR (change dr into record along the way). Use RR to find out cache ID. Use id member of node_cache to look for ID. Cache ID. (load_inode): Call inode_cache_find with correct ID, depending on RR and file size. Frob arguments to cache_inode to comply with the new definition. (read_disknode): Set st_ino according depending on RR and file size. * lookup.c: Doc spelling fix. (diskfs_get_directs): Include code again that was removed by last change, but use it only if not symlink or zero length file.
* 2000-11-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-265-28/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes Debian Bug #68417: * rr.c (rrip_work): In helper function add_comp set targused to zero after malloc, and loop over realloc in case doubling is not enough. After finalizing the link, set VALID_SL valid flag. * inode.c (read_disknode): For links use rl->target instead rl->name. Closes Debian Bug #69281: Don't use file_start as inode numbers, but the offset of the directory record in disk_image. This is what Linux 2.4 does. * isofs.h (struct disknode): New member struct dirrect *dr. * inode.c: Fix comment about inode numbers. (struct node_cache): Fix comment about file_start (it's not unique). In fact, file_start is invalid for symlinks, and only stored here for convenience. Maybe caching file_start can be avoided by rearranging the code. (inode_cache_find): Change first argument from off_t file_start to struct dirrect *dr and fix the doc. Compare cached value of DR with this argument, instead FILE_START. (diskfs_cached_lookup): Set DR member of DN. (load_inode): Call inode_cache_find with RECORD instead FILE_START. Set DR member of DN. (read_disknode): Set inode number to DR - DISK_IMAGE instead FILE_START. * lookup.c (diskfs_get_directs): Remove variable file_start. Don't calculate file_start. Set D_FILENO to EP - DISK_IMAGE instead FILE_START.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-262-2/+9
| | | | | | comes before the ports lib. This makes sure the functions in libthreads properly override the stubs in libports with the new dynamic linker semantics in glibc 2.2.
* .Roland McGrath1999-11-211-0/+8
|
* 1999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-213-16/+18
| | | | | | | | * lookup.c (dirscanblock): Add const to type of NAME parameter. (isonamematch): Likewise. * rr.c (rrip_match_lookup): Likewise. (rrip_work): Likewise. Change char -> size_t for MATCH_NAMELEN. * rr.h: Update decls.
* .Roland McGrath1999-10-131-0/+4
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-131-1/+2
| | | | * main.c (diskfs_name_max): New variable.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-132-4/+6
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-082-1/+7
| | | | * pager.c (diskfs_get_filemap): Accept additional parameter.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-113-3/+9
| | | | | * lookup.c (diskfs_get_directs): Use mmap instead of vm_allocate. * pager.c (pager_read_page): Likewise.
* .Roland McGrath1999-07-111-1/+5
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-3/+4
| | | | * isofs.h: Add #include <sys/mman.h> for munmap decl.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-032-8/+12
| | | | | * lookup.c (diskfs_get_directs): Use munmap instead of vm_deallocate.
* .Roland McGrath1999-06-131-0/+4
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-1/+1
| | | | * lookup.c (diskfs_get_directs): Add cast to silence warning.
* .Roland McGrath1999-01-241-0/+8
|
* 1999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-241-60/+59
| | | | * rr.c (rrip_work): Remove makedev macro definition.
* 1999-01-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-241-47/+19
| | | | * main.c (main): Use diskfs_init_main.
* .Roland McGrath1998-12-271-0/+5
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-8/+3
| | | | | * inode.c (diskfs_set_statfs): Remove __ from struct statfs members. Use bzero first instead of setting individual fields to zero.
* .Roland McGrath1998-12-271-0/+5
|
* 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-12-271-2/+13
| | | | | * inode.c (diskfs_set_statfs): Fill in statfs members with sensible values.
* *** empty log message ***Thomas Bushnell1998-11-161-2/+1
|
* .Roland McGrath1998-11-161-0/+4
|
* Wed Oct 28 22:52:04 1998 Joel N. Weber II <devnull@methedrine.ai.mit.edu>Roland McGrath1998-11-161-1/+1
| | | | * inode.c (read_disknode): Use FSTYPE_ISO9660.
* .Roland McGrath1998-09-041-2/+9
|
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-042-78/+78
| | | | | | | * lookup.c (diskfs_lookup_hard): Fix defn with `const'. (diskfs_direnter_hard): Likewise. (diskfs_get_directs): Use `const' for local var NAME. * inode.c (diskfs_set_translator): Fix defn with `const'.
* .Miles Bader1997-09-221-0/+4
|
* (diskfs_append_args):Miles Bader1997-09-221-0/+15
| | | | New function.