Prev: KeyChain/iChat weirdness
Next: EVGA GeForce GTX 285
From: zoara on 6 Mar 2010 18:46 As above, really - is there any way to mount a USB disk as read-only? Alternatively, can I prevent OSX spraying .DS_Store files and the spotlight index over a disk when I mount it? -z-
From: Mike Dee on 6 Mar 2010 22:25 In article <1280054561289611749.472488me18-privacy.net(a)news.individual.net>, zoara <me18(a)privacy.net> wrote: > As above, really - is there any way to mount a USB disk as read-only? AFAIK, only if the drive has a lockable tab. But it wouldn't surprise me if there was a Unix type solution to do this via a terminal. > Alternatively, can I prevent OSX spraying .DS_Store files and the > spotlight index over a disk when I mount it? Google ds_store and your current OS, eg: ds_store leopard, together. You'll get a lot of hints for this. One of the biggest problems that I see, is nothing will prevent .DS_Store files from being moved to a removable drive if they already exist inside a folder that you might be copying over. I use the Contextual menu utility "OnMyCommand" <http://free.abracode.com/cmworkshop/on_my_command.html> with the "Delete all .DS_Store files" command for this. Located under the "Administration" section on this page: <http://free.abracode.com/cmworkshop/commands/categories.php> but there are other utilities out there that can do this if you search for them. On Spotlight Indexing searches: This works for any removable (+ networked and fixed drives), to prevent Spotlight from indexing them, you create an empty file named ".metadata_never_index" and save it into the root (the top level directory) of the drive you want to use this for: Using Terminal, type the following (and tap the "return" or "enter" keys after each line ending): cd /Volumes cd <your-disk's-name-here> touch .metadata_never_index Repeat for all drives you want to do this for. -- dee
From: Chris Ridd on 7 Mar 2010 02:28 On 2010-03-06 23:46:41 +0000, zoara said: > As above, really - is there any way to mount a USB disk as read-only? > > Alternatively, can I prevent OSX spraying .DS_Store files and the > spotlight index over a disk when I mount it? Unix has a file called fstab, usually in /etc/ that lets you adjust how and where to mount particular disks. The fstab man page in SL suggests it still exists, and there are some notations which let you identify particular disks. There are some examples given, also in the diskarbitrationd man page. -- Chris
From: Ian McCall on 7 Mar 2010 05:39 On 2010-03-06 23:46:41 +0000, zoara <me18(a)privacy.net> said: > Alternatively, can I prevent OSX spraying .DS_Store files and the > spotlight index over a disk when I mount it? BlueHarvest? <http://zeroonetwenty.com/blueharvest/> Not quite the same, but easier than faffing with Unix mount commands just for a USB sick. Cheers, Ian
From: R on 8 Mar 2010 03:45
Colin Harper <colinharper(a)x.com.invalid> wrote: > As chris said, you can use /etc/fstab. I use fstab to prevent the mount of > the various rescue partitions I have on this Hackintosh when I'm running from > the primary boot disks. I do that, too. I'm a bit worried about fstab, though. By default there's no fstab in /etc, but there is a file named fstab.hd, the contents of which are: IGNORE THIS FILE. This file does nothing, contains no useful data, and might go away in future releases. Do not depend on this file or its contents. Does that imply that 'fstab' is about to become unusable? And if so, what's the alternative? Cheers. ps If I were ignoring this file, wouldn't I be ignoring the "IGNORE THIS FILE" message contained within it? :) |