On Tue, Jun 07, 2005 at 10:20:26AM -0400, Clint Adams wrote: > > [EMAIL PROTECTED]:~$ sudo tempfile -d /mnt/ > > /mnt/fileX2rpBE > > [EMAIL PROTECTED]:~$ sudo tempfile -d /mnt/ -s foo > > link: Operation not permitted > > [EMAIL PROTECTED]:~$ ls /mnt/ > > fileEiGFHT fileX2rpBE > > [EMAIL PROTECTED]:~$ > > tempfile would need to work around the lack of hardlink support on FAT. > Is this worth fixing?
I think so. Maybe it's better if I describe you the context in which I was using tempfile on FAT. I recently adquired one of those portable audio players that work as USB storage devices with a FAT filesystem where you can put audio files (usualy only mp3). I was writting a script for personal use that inserted my music files into the device, and I wanted tempfile to do something like this: [pipe that sends mp3 stream] > `tempfile -d /mnt -s .mp3` the result is that since filenames are randomised, playing order in the audio device is, too. -- Robert Millan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]