Tag Info

New answers tagged

1

You can use the ciopfs stackable filesystem, which implements a case-insensitive filesystem on top of a case-sensitive one. mkdir /tmp/case-sensitive /tmp/case-insensitive ciopfs /tmp/case-sensitive /tmp/case-insensitive TMPDIR=/tmp/case-insensitive myapp fusermount -u /tmp/case-insensitive Ciopfs is a FUSE filesystem, which is available on most Unix ...


3

You can try the following to create a case insensitive filesystem in /tmp: truncate -s 100M /tmp/vfat losetup /dev/loop0 /tmp/vfat mkfs.vfat /dev/loop0 mkdir /mnt/vfat mount /dev/loop0 /mnt/vfat If you don't want to use tmpfs but ramfs instead, create a RAM mount first: mkdir /mnt/ramfs mount -t ramfs -o size=110M ramfs /mnt/ramfs Then follow the steps ...


-1

You can just put it in /etc/fstab. A line for a particular user might look like: tmpfs /home/username/tmp tmpfs size=[num]%,uid=[num],gid=[num],noauto,user,mode=0700 Putting a line like that for each user you want to be able to mount a tmpfs in their home directory will make it so. The user username could do just do mount ~/tmp to mount a tmpfs over their ...


3

You can use pam-tmpdir for this. It creates a directory for each user that logs in, at the start of their PAM session. See How to remount filesystem at logout? for a little more context... In Debian, Ubuntu and derivatives it's available in libpam-tmpdir.



Top 50 recent answers are included