switch to room list switch to menu My folders
Go to page: First ... 45 46 47 48 [49] 50 51 52 53 ... Last
[#] Mon Apr 19 2010 20:10:57 EDT from matt @ comalies

[Reply] [ReplyQuoted] [Headers] [Print]

jffs2 and friends only work when you have the memory chips hooked directly up to the machine. Won't work on USB and SATA drives that present themselves as another protocol


[#] Mon Apr 19 2010 21:26:16 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

THat's a good point, I'd wanna get my rsync working so it doesn't burn up the drive.
Right now I've got it tarring which will rewrite the whole thing every day. won't last long I expect.

[#] Tue Apr 20 2010 11:18:30 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Unfortunately, flash memory is really not the right choice for "back up to it every day" applications. You would be better served by an external USB-attached hard disk.

rsync will definitely be more merciful on the drive than tar. Also be sure to mount with the "noatime" flag in order to avoid excessive writes created by reads.

[#] Wed Apr 21 2010 15:22:37 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Credit cards featuring Tux (the Linux penguin) are finally available again!

[#] Wed Apr 21 2010 22:44:23 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

to it every day" applications. You would be better served by an
external USB-attached hard disk.

Yeah, but can I get one for $20? :-)

[#] Thu Apr 22 2010 14:15:07 EDT from Harbard @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print] might have to spend $40.


and go through a lot less trouble.

[#] Thu Apr 22 2010 19:57:22 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

hunh. I had no idea external drives could be that cheap.

[#] Thu Apr 22 2010 23:59:57 EDT from Harbard @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

even cheaper if you have an old HD laying around...just buy an enclosure for around $15.

[#] Fri Apr 23 2010 14:39:35 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

are they ide or sata or do they make both?

[#] Sat Apr 24 2010 02:54:26 EDT from Harbard @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Both...but you might have to hunt around for an IDE version.

[#] Sat Apr 24 2010 11:18:00 EDT from skpacman @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

SATA is becoming increasingly cheap over the recent year. can get you a SATA enclosure fairly cheap. IDE is a different story. They've been stagnating at the same price for quite some time with lower and lower physical quality. I still have an IDE->USB converter that I use on occasion, but that's being phased out as well. All of my IDE drives are dying.

[#] Sat Apr 24 2010 20:49:16 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

It's fairly easy to find both USB-IDE and USB-SATA enclosures if you shop around on eBay or the sooper-discount computer parts sites. If you're going SATA, however, you've got another option, which is eSATA (the "e" stands for "external"). As you might imagine, the components to set yourself up for eSATA are fairly cheap, because there are no interface conversions to be done.
eSATA works well and has a nice high data transfer rate, but it doesn't handle hot plug as well as USB.

[#] Tue Apr 27 2010 18:16:46 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

So I tried sshfs today and it's very cool. Probably it is old news for the igs of the world but I never tried it before... I can think of many uses.
For those who don't know, it's a FUSE filesystem that mounts directories from remote machines using sftp protocol. You don't need anything special on the server, just the ability to ssh there.

But what I am really trying to do is something different, and maybe some of you have some ideas. What I want is a super-simple distributed filesystem.
With the files and directory data cached on disk locally so that if my server goes away, I will still have any files or directories that I previously touched, and I will continue to have them until such time as the server comes back and I can get the latest stuff. But it can't be all crazy complicated, it has to be a small change to the system.

[#] Tue Apr 27 2010 18:17:36 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

PS: I should mention that of course, I immediately considered just getting the source to sshfs and hacking it, but I thought well maybe I should ask around first, to make sure it hasn't been invented yet...

[#] Tue Apr 27 2010 20:38:38 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

ask our dear friends at they know everything.

[#] Wed Apr 28 2010 12:55:56 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I'll try em. Meanwhile I was curious so I looked at the sshfs code and it is pretty clean and easy to read but of course to emulate a filesystem, FUSE requires you to implement quite a significant number of callbacks and of course none of these really work with whole files but more on the block level. They cache stuff but in memory. So yea at first glance it would not be a crazy proposition to persist the cache on disk but it would be a block cache and not necessarily whole files. Apparently the sftp protocol (which I am not really familiar with) allows access at a more fine grained level. A block cache would, in practice, probably be fine for my purposes since the application usually reads the whole file anyway thus the whole file would be brought locally.
But the indeterminate nature of it would be a hard sell. Best to either promise all the file or none of it.

[#] Thu Apr 29 2010 22:11:59 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Actually, I haven't bothered to try anything FUSE related because it just seems like such an ugly hack. The idea of sshfs sounds cool though ... although I'd rather have a library version that could be tied into other applications.

[#] Fri Apr 30 2010 13:51:00 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

fuse seems to work okay for me. It's certainly handy when I plug cameras in they just appear.
although you can force mount soemthing that you've unmounted.
I mean I imagine there's a way, but I find it's easier to unplug and replugin the gadget.

[#] Fri May 28 2010 20:55:19 EDT from Harbard @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I need a little help.


I need some Linux know-how too.  I want to run this command from a shell:

gpsbabel -t -i garmin -f usb: -o gpx -F tracks2.txt


The trouble is, I have to run it as root.  Is there a way to run it as a normal user?  Not using 'sudo' that is.  The command is accessing the USB port and downloading an XML data file on my GPS.


[#] Fri May 28 2010 21:39:21 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

you turn on the sticky bit or whatever its called chmod +s file
so it runs as the owner and make the owner root.

Go to page: First ... 45 46 47 48 [49] 50 51 52 53 ... Last