Commit Graph

33 Commits

Author SHA1 Message Date
Dustin Sallings c13717e788 fs: extended attribute support
This includes read-write support for extended attributes for mutable
files, and enough support on all other filesystem paths to prevent OS X
from falling back to AppleDouble files.

Change-Id: I2b275591f3bc69c25e1e9c8d59a7fa4cf0bb97ff
2014-01-02 12:02:10 -08:00
Brad Fitzpatrick 3f7dde054c fs: only reject read-only open if flags contain a blacklisted write flag 2013-12-26 13:55:27 -08:00
Dustin Sallings ae1a7aee58 EPERM any attempts to open files for writing in recent
Rather than allowing files to be opened read/write an than returning EIO
on actual writes, just don't let them be opened writable.

Change-Id: I73991e535adcde6eb012b28ae01537ffae1621bb
2013-12-22 13:06:39 -08:00
Brad Fitzpatrick 0bdf20884b all: delete pkg/blobref; convert all from *blobref.BlobRef to new blob.Ref
Change-Id: Id2dfb7f19452bedf4f3c9310b36227fd8117b225
2013-08-03 19:54:30 -07:00
Andrew Gerrand 450b46e9ca fs: actually claim to have free space
Change-Id: Ia1aac8f44d1616130b5052a97fc8733027c65c4b
2013-07-16 13:45:27 +10:00
Brad Fitzpatrick 167138fd65 cammount: quieter. and only exit when 'q' is pressed.
Change-Id: I2c8719490f977d14e526cd34672ce784589dd460
2013-07-11 19:21:59 +10:00
Brad Fitzpatrick cf0d9aca6e More docs
Change-Id: I5c21f240c85bcf91fb67487cc172bf3faeb49fff
2013-07-07 18:52:14 -07:00
Brad Fitzpatrick dde968e763 Mark FUSE & pkg/fs files as Linux & Mac only, to fix FreeBSD build.
Also start of cross-compiling support in make.go.

Change-Id: Ic11ca2d433f135b07b3f6d7738eec9fe98590905
2013-07-05 10:41:07 -07:00
Brad Fitzpatrick 9402860c92 fs: fallback to modtime of permanode if file's is unknown
Change-Id: I0b9c58dc6b226526eac4a6772e2125b396f3fc66
2013-02-18 11:02:26 -08:00
Brad Fitzpatrick d2bc6f6cd3 fs: use schema.DirReader, rather than doing it by hand
Change-Id: I7e79621d621314ed1f50219f0cafc44b1b82ab1f
2013-02-18 10:17:38 -08:00
Brad Fitzpatrick a44e75435b fs: support directories in recent files, and fix directory data race
Change-Id: I32b4989ed9b68c79168e91077d56ee65f6f62611
2013-02-17 11:43:03 -08:00
Brad Fitzpatrick b95b796d3c fs: move some common code to fs; create recent.go
Change-Id: I25c5e906988efecbabc266c407d9129e42993fb4
2013-02-06 21:57:07 -08:00
Brad Fitzpatrick 574a338910 fs: cleanup
Change-Id: Iae3404afe5fc5cf0d83cc45e7822886bce25fe21
2013-02-06 21:47:37 -08:00
Brad Fitzpatrick 1b06c3a8c1 NewCamliFileSystem needs a client. Work on Issue 95.
Change-Id: I417d9d04398e734d88d3139a91309a8f0eb8084d
2013-02-06 21:47:01 -08:00
Brad Fitzpatrick af2b2987c5 pkg/fs: stop using Superset
Change-Id: I890b2376124de129f8035af5b9424f3ba3861895
2013-01-22 10:20:34 -08:00
Brad Fitzpatrick 94e6edb404 fs: add a TODO
Change-Id: I12e0a838631c86096d83110ef2aff06abd3251cb
2012-12-26 10:16:29 -08:00
Brad Fitzpatrick b8dc625560 fs: implement fuse nodeReader.Read in terms of FileReader.ReadAt
Change-Id: I136543554ca5337568ec94d8888528220d5f88cc
2012-12-26 10:02:22 -08:00
Brad Fitzpatrick 0a0cbe72c1 schema: start of more stressful FileReader tests, chasing a bug
Change-Id: I2aa2b815c785d37674c309a9d6b7c26c67ec3b6e
2012-12-25 12:17:45 -08:00
Brad Fitzpatrick f455b6f68b cammount, fs: fix fd leak
Change-Id: I6da4c8961e5b8547f33df0c46a11d9fc51781845
2012-12-24 12:46:24 -08:00
mpl 2d4f37176c cammount: check that input is a directory blobref
Change-Id: I9b33f2ae31ef902e01ddaa0504e1c960bb4e3640
2012-10-18 00:33:37 +02:00
Brad Fitzpatrick 180147ce02 fs: add a WELCOME.txt fuse node at the root.
Change-Id: Ifd7d38aaec93e9a9d33c887e50cc49a240c4d656
2012-04-30 19:43:06 +10:00
Brad Fitzpatrick 4b8df05859 fs,fuse: new 'welcome' root node, where you can navigate/search anywhere.
Change-Id: I66f076a85d8e474bb5d93ad8743fc8181de7502f
2012-04-29 14:29:51 +10:00
Brad Fitzpatrick add0f80721 fs: implement fuse owner/groups
Change-Id: I3cb8fea6aa7dc572e1a77bc2bf872b8c584d1cbf
2012-04-29 10:03:07 +10:00
Brad Fitzpatrick 5cb597ec04 fs: fuse reading of file contents.
Change-Id: I2969e16cf694ea4d4d15a2c69d25d34813fac4a3
2012-04-28 21:47:02 +10:00
Brad Fitzpatrick 947a963373 fs: fix fuse Lookups when there hasn't been a Readdir. also start on file reading.
Change-Id: Ie3e53e24a6e1053f665c1c239f32eda805c90df9
2012-04-28 21:15:45 +10:00
Brad Fitzpatrick de252375f9 fs: set mode, permission, mtime
Change-Id: Ife6aa6ea93e2a4d54131080e94a6e4f926d0c25a
2012-04-28 01:35:45 -07:00
Brad Fitzpatrick e473c142ad pkg/fs: fuse readdir and lookup working again.
Change-Id: Ib5479d627fbcefa93667e372e79f4fcb2df7d191
2012-04-28 00:55:46 -07:00
Brad Fitzpatrick 89eeb6e3d5 auth: remove import
Change-Id: Ic31bc3ce05caee2b41aad127ed807be8c057f3d2
2012-04-27 18:57:24 -07:00
Brad Fitzpatrick fa3deaab41 cammount: some more fuse work.
Change-Id: I84df5c10eca3bb7c4617077f28d3b00bcda75a67
2012-04-27 01:46:31 -07:00
Brad Fitzpatrick f7a7ada018 pkg/fs: move old style fuse code into old.go for salvage/deletion.
Change-Id: I6a5ec7ab071c9deb3a824bd3700b103d8d5da154
2012-04-26 19:44:17 -07:00
Brad Fitzpatrick 685189ca4c cammount: update to use rsc's fuse library; pkg/fs: butcher it up to make it compile.
doesn't work again yet.

Change-Id: I462320918026944716638588d08ba76c67c72a73
2012-03-18 23:54:20 -07:00
Brad Fitzpatrick 6ac0b8c027 WIP, porting pkg/fs to rsc's fuse library
Change-Id: I81156bc518892d9b387607a89dc0655c74aeb42a
2012-03-18 23:14:34 -07:00
Brad Fitzpatrick 0714a463c9 Update from r60 to [almost] Go 1.
A lot is still broken, but most stuff at least compiles now.

The directory tree has been rearranged now too.  Go libraries are now
under "pkg".  Fully qualified, they are e.g. "camlistore.org/pkg/jsonsign".

The go tool cannot yet fetch from arbitrary domains, but discussion is
happening now on which mechanism to use to allow that.

For now, put the camlistore root under $GOPATH/src.  Typically $GOPATH
is $HOME, so Camlistore should be at $HOME/src/camlistore.org.

Then you can:

$ go build ./server/camlistored

... etc

The build.pl script is currently disabled.  It'll be resurrected at
some point, but with a very different role (helping create a fake
GOPATH and running the go build command, if things are installed at
the wrong place, and/or running fileembed generators).

Many things are certainly broken.

Many things are disabled.  (MySQL, all indexing, etc).

Many things need to be moved into
camlistore.org/third_party/{code.google.com,github.com} and updated
from their r60 to Go 1 versions, where applicable.

The GoMySQL stuff should be updated to use database/sql and the ziutek
library implementing database/sql/driver.

Help wanted.

Change-Id: If71217dc5c8f0e70dbe46e9504ca5131c6eeacde
2012-02-18 21:53:06 -08:00