Browse Source

rename to Seaweed File System

pull/15/head
Chris Lu 10 years ago
parent
commit
794b755f1d
  1. 2
      go/weed/benchmark.go
  2. 2
      go/weed/filer.go
  3. 2
      go/weed/mount_std.go
  4. 2
      go/weed/server.go
  5. 4
      go/weed/version.go
  6. 2
      go/weed/weed.go

2
go/weed/benchmark.go

@ -98,7 +98,7 @@ func init() {
} }
func runbenchmark(cmd *Command, args []string) bool { func runbenchmark(cmd *Command, args []string) bool {
fmt.Printf("This is Weed File System version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
fmt.Printf("This is Seaweed File System version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
if *b.cpuprofile != "" { if *b.cpuprofile != "" {
f, err := os.Create(*b.cpuprofile) f, err := os.Create(*b.cpuprofile)
if err != nil { if err != nil {

2
go/weed/filer.go

@ -63,7 +63,7 @@ func runFiler(cmd *Command, args []string) bool {
if nfs_err != nil { if nfs_err != nil {
glog.Fatalf(nfs_err.Error()) glog.Fatalf(nfs_err.Error())
} }
glog.V(0).Infoln("Start Weed Filer", util.VERSION, "at port", strconv.Itoa(*f.port))
glog.V(0).Infoln("Start Seaweed Filer", util.VERSION, "at port", strconv.Itoa(*f.port))
filerListener, e := util.NewListener( filerListener, e := util.NewListener(
":"+strconv.Itoa(*f.port), ":"+strconv.Itoa(*f.port),
time.Duration(10)*time.Second, time.Duration(10)*time.Second,

2
go/weed/mount_std.go

@ -15,7 +15,7 @@ import (
) )
func runMount(cmd *Command, args []string) bool { func runMount(cmd *Command, args []string) bool {
fmt.Printf("This is Weed File System version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
fmt.Printf("This is Seaweed File System version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
if *mountOptions.dir == "" { if *mountOptions.dir == "" {
fmt.Printf("Please specify the mount directory via \"-dir\"") fmt.Printf("Please specify the mount directory via \"-dir\"")
return false return false

2
go/weed/server.go

@ -152,7 +152,7 @@ func runServer(cmd *Command, args []string) bool {
if nfs_err != nil { if nfs_err != nil {
glog.Fatalf(nfs_err.Error()) glog.Fatalf(nfs_err.Error())
} }
glog.V(0).Infoln("Start Weed Filer", util.VERSION, "at port", strconv.Itoa(*filerOptions.port))
glog.V(0).Infoln("Start Seaweed Filer", util.VERSION, "at port", strconv.Itoa(*filerOptions.port))
filerListener, e := util.NewListener( filerListener, e := util.NewListener(
":"+strconv.Itoa(*filerOptions.port), ":"+strconv.Itoa(*filerOptions.port),
time.Duration(10)*time.Second, time.Duration(10)*time.Second,

4
go/weed/version.go

@ -9,8 +9,8 @@ import (
var cmdVersion = &Command{ var cmdVersion = &Command{
Run: runVersion, Run: runVersion,
UsageLine: "version", UsageLine: "version",
Short: "print Weed File System version",
Long: `Version prints the Weed File System version`,
Short: "print Seaweed File System version",
Long: `Version prints the Seaweed File System version`,
} }
func runVersion(cmd *Command, args []string) bool { func runVersion(cmd *Command, args []string) bool {

2
go/weed/weed.go

@ -90,7 +90,7 @@ func main() {
} }
var usageTemplate = ` var usageTemplate = `
Weed File System : store billions of files and serve them fast!
Seaweed File System : store billions of files and serve them fast!
Usage: Usage:

Loading…
Cancel
Save