Re: kernel-headers rpm ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 21, 2003 at 09:44:11AM -0600, Thomas Dodd wrote:
> I don't think so... If adding a new disk is not possible, use a file, 
> the wonder of loop devices :) While people regularly use loop mounts for 
> CD and floppy images or the initrd, they forget that almost any 
> filesystem/mountpoint can be a loop device. I did this recently for  
> /var/spool/up2date. The system is mainly a wi98 box, but it has a small 
> linux install. So when I didn't have room for new updates, I tried a 
> symlink. For various reasons it didn't work well, symlinking 
> /var/spool/u2date to a FAT32 filesystem, so I created a new filesystem 
> using the loop device and a file on the FAT32 filesystem. dd, losetup, 
> and mke2fs where all it took.

When you have free space on a filesystem with Linux semantics (e.g., /home),
bind mounts make more sense:

   mkdir /home/up2date
   mount --bind /home/up2date /var/spool/up2date

or in /etc/fstab:

   /home/up2date  /var/spool/up2date   none  bind  0 0

after /home is mounted, of course. :-) See mount(8).

Regards,

   Bill Rugolsky



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux