rename to Seaweed File System

This commit is contained in:
Chris Lu
2014-09-20 21:18:26 -07:00
parent fa9318914c
commit 794b755f1d
6 changed files with 7 additions and 7 deletions

View File

@@ -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 {

View File

@@ -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,

View File

@@ -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

View File

@@ -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,

View File

@@ -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", Short: "print Seaweed File System version",
Long: `Version prints the Weed 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 {

View File

@@ -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: